Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: allow complete motion customization #52

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

willothy
Copy link
Collaborator

@willothy willothy commented Jun 1, 2024

This will allow for integrations with things like nvim-spider. Not sure how I feel about my current API. Very WIP.

@tris203
Copy link
Owner

tris203 commented Jun 1, 2024

I'm not sure about this API design

I think that basically all these plugins do is reimplement the cls() algorithm

So I think we could just provide a method (metatable probably) to override that with a custom function if set

@willothy
Copy link
Collaborator Author

willothy commented Jun 1, 2024

I'm not sure about this API design

I think that basically all these plugins do is reimplement the cls() algorithm

So I think we could just provide a method (metatable probably) to override that with a custom function if set

Yeah I agree, I'll think about a better way to design this. This was mostly messing around with the idea.

@willothy willothy self-assigned this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants